package com.zhangwei.fresco.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

/**
 * @说 明：
 * @项目名称：LiWuShuo
 * @包 名： com.zhangwei.liwushuo.bean
 * @类 名： Data
 * @创 建人： zhangwei
 * @创建时间：2015-08-14 20:57
 * @版 本：v1.0
 * @修 改人：
 * @修改时间：
 * @修改备注：
 */
public class Data<T> implements Serializable {
    private List<T> items;
    private Paging paging;
    private List<Collection> collections;
    @JSONField(name = "channel_groups")
    private List<CateGoryGroupEntity> cateGoryGroupEntities;
    private List<Category> categories ;



    public List<CateGoryGroupEntity> getCateGoryGroupEntities() {
        return cateGoryGroupEntities;
    }

    public void setCateGoryGroupEntities(List<CateGoryGroupEntity> cateGoryGroupEntities) {
        this.cateGoryGroupEntities = cateGoryGroupEntities;
    }

    public List<T> getItems() {
        return items;
    }

    public void setItems(List<T> items) {
        this.items = items;
    }

    public Paging getPaging() {
        return paging;
    }

    public void setPaging(Paging paging) {
        this.paging = paging;
    }


    public List<Collection> getCollections() {
        return collections;
    }

    public void setCollections(List<Collection> collections) {
        this.collections = collections;
    }

    public List<Category> getCategories() {
        return categories;
    }

    public void setCategories(List<Category> categories) {
        this.categories = categories;
    }


    @Override
    public String toString() {
        return "Data{" +
                "items=" + items +
                ", paging=" + paging +
                ", collections=" + collections +
                ", cateGoryGroupEntities=" + cateGoryGroupEntities +
                ", categories=" + categories +
                '}';
    }
}
